<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .c1{
            width: 100px;
            height: 100px;
            border: 10px solid red;
            /*padding: 20px 20px; !* 内边距,内容和边框之间的距离 *!*/
            /*padding: 8px 2px 3px 6px; !* 上右下左 *!*/
            /*margin: 20px 10px;*/
            /*padding-left: 10px;*/
            /*padding-top: 8px;*/
            /*padding-right: 5px;*/
            /*padding-bottom: 5px;*/

        }
        .c2{
            width: 100px;
            height: 100px;
            border: 10px solid green;
            /*margin: 10px 2px 6px 8px; !* 外边距,与其他标签的距离,如果旁边没有标签,按照父级标签的位置进行移动 *!*/


            margin-top: 10px;
            margin-left: 100px;
            margin-bottom: 50px;
            margin-right: 200px;

        }
        .c3{
            width: 100px;
            height: 100px;
            border: 1px solid blue;
        }

    </style>
</head>
<body>


<div class="c1">
    div1
</div>
<div class="c2">
    div2
</div>
<div class="c3">
    div3
</div>


</body>
</html>